import request from '@/utils/request';

export async function List(params) {
  return request(`/user/query`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

export async function couponList(params) {
  return request(`/user/coupon/list`, {
    method: 'POST',
    body: {},
  });
}

export async function Detail(params) {
  return request(`/user/detail/${params.userNo}`, {
    method: 'POST',
    body: {},
  });
}
export async function userList(params) {
  console.log(params);
  return request(`/user/list`, {
    method: 'POST',
    body: params,
  });
}


export async function send(params) {
  return request(`/user/reward/send`, {
    method: 'POST',
    body: params,
  });
}

